package com.qy.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author qy
 * @since 2020-04-16
 */
public class T_user extends Model<T_user> {

    private static final long serialVersionUID = 1L;

    private String id;

    private String username;

    private String password;

    /**
     * 企业id
     */
    private String company_id;

    private Date create_date;

    private Date update_date;

    private String create_by;

    private String update_by;

    private String token;

    private Integer enabled;

    private String status;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getCompany_id() {
        return company_id;
    }

    public void setCompany_id(String company_id) {
        this.company_id = company_id;
    }
    public Date getCreate_date() {
        return create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }
    public Date getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(Date update_date) {
        this.update_date = update_date;
    }
    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }
    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "T_user{" +
        "id=" + id +
        ", username=" + username +
        ", password=" + password +
        ", company_id=" + company_id +
        ", create_date=" + create_date +
        ", update_date=" + update_date +
        ", create_by=" + create_by +
        ", update_by=" + update_by +
        ", token=" + token +
        ", enabled=" + enabled +
        ", status=" + status +
        "}";
    }
}
